<?php
class ModSpells
{
	public function index()
	{
			POT::getInstance()->loadSpells( configParser::$confdir . configParser::getData('datadir') . 'spells/spells.xml' );
			
			
			$spellList = POT::getInstance()->getSpellsList();
			
			viewLayer::$var->spells = $spellList;
			
			viewLayer::render('spells');
	}
}
?>